home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7654 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.0 KB  |  45 lines

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: New to this group !
  5. Date: 24 Feb 1996 20:27:04 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4gnsao$mha@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe11.h1.usa.pipeline.com
  9. X-PipeUser: grantp
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (Pete)
  12. X-Newsreader: Pipeline USA v3.3.0
  13.  
  14. On Feb 24, 1996 11:37:21 in article <New to this group !>,
  15. 'rsyverts@telepost.no (R.S.)' wrote: 
  16.  
  17.  
  18. >Hello ! 
  19. >I am new to this group, and have just started programing C++. 
  20. >I am making a very little screensaver, and get the error-message:  
  21. >Compiling R_TEST3.C: 
  22. >Linking BIN\R_TEST3.EXE: 
  23. >Linker Error: Group DGROUP exceeds 64K 
  24. >Can someone help me ? Please send me e-mail.... 
  25. You need to reduce the amount of global static data. 
  26. Where you have something like: 
  27.  
  28. double myarray[10000]; 
  29.  
  30. change it to 
  31. double * myarray = 0; 
  32.  
  33. then in your main, do: 
  34.    myarray = new double[10000]; 
  35.  
  36. -- 
  37. Pete Grant 
  38. Kalevi, Inc. 
  39. Software Engineering & development
  40.